package com.esun.payment_api.mapper;

import com.esun.payment_api.bean.DkInvoiceBean;
import com.esun.payment_api.domain.DkClaimInvoice;
import com.esun.payment_api.domain.DkClaimInvoiceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DkClaimInvoiceMapper {
    long countByExample(DkClaimInvoiceExample example);

    int deleteByExample(DkClaimInvoiceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DkClaimInvoice record);

    int insertSelective(DkClaimInvoice record);

    List<DkClaimInvoice> selectByExample(DkClaimInvoiceExample example);

    DkClaimInvoice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DkClaimInvoice record, @Param("example") DkClaimInvoiceExample example);

    int updateByExample(@Param("record") DkClaimInvoice record, @Param("example") DkClaimInvoiceExample example);

    int updateByPrimaryKeySelective(DkClaimInvoice record);

    int updateByPrimaryKey(DkClaimInvoice record);

    List<DkInvoiceBean> getClaimInvoiceById(Short companyId, Integer claimId, Integer claimInvoiceId);

    List<DkInvoiceBean> getClaimInvoiceByClaimId(Short companyId, Integer claimId);
}